<?php

namespace HikCloud\RestApi\Estate\EntranceGuard\permissionGroups;

use HikCloud\RestApi\HikRestOutApi;


/**
 * 权限组绑定人员
 * 接口描述
 * 将人员添加到权限组中；该人员权限自动下发到权限组关联的设备上;
 * 名称    类型    长度    是否必填    描述
 * groupId    String    32    是    权限组ID
 * employeeNos    List    /    是    关联的人员编号列表
 * Class Create
 * @package HikCloud\RestApi\Estate\EntranceGuard\permissionGroups
 */
class addPersons extends HikRestOutApi
{
    protected $api = '/api/v1/open/accessControl/permissionGroups/actions/addPersons';
    public $method = 'POST';
    public $header;

    protected $required_params = [
        'groupId'     => '',
        'employeeNos' => [],
    ];

    protected $optional_params = [];

    public function __construct()
    {
        parent::__construct();
    }

}